package cn.wolfcode.luowowo.article.service;


import cn.wolfcode.luowowo.article.domain.Travel;
import cn.wolfcode.luowowo.article.domain.TravelContent;
import cn.wolfcode.luowowo.common.query.TravelQuery;
import cn.wolfcode.luowowo.common.util.AjaxResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelService {
    PageInfo query(TravelQuery qo);

    TravelContent getTravelContent(Long id);

    void updateState(Long id, Integer state);

    Travel get(Long id);

    AjaxResult saveOrUpdate(Travel travel);

    List<Travel> listViewnumTop3(Long destId);

    List<Travel> list();
}
